@echo off

rem # JS
set "_pbjs=..\node_modules\.bin\pbjs.cmd"
set "_pbts=..\node_modules\.bin\pbts.cmd"

%_pbjs% -t static-module -w commonjs --es6 --keep-case --root gameMsgProtocol -o ..\assets\code\msg\mod_gameMsgProtocol.js .\GameMsgProtocol.proto
%_pbts% -o ..\assets\code\msg\mod_gameMsgProtocol.d.ts ..\assets\code\msg\mod_gameMsgProtocol.js
